package com.fishery.base.service.client;

import com.fishery.base.entity.client.BaseTypeVo;
import com.fishery.base.handler.CustomizationFallback;
import com.fishery.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "fishery-customization-service", fallback = CustomizationFallback.class)
public interface CustomizationClient {

	@PostMapping("/customization/label/generate")
	public Result generateLabels(@RequestBody BaseTypeVo baseTypeVo);

}
